package com.huangj.pro2_h2pop;

import android.content.Intent;
import android.util.Log;
import android.webkit.WebView;

import com.huangj.huangjlibrary.base.BaseActivity;

import butterknife.BindView;

/**
 * Created by HuangJ on 2016/10/6.17:02
 */
public class HomeInfoWebActivity extends BaseActivity {

    @BindView(R.id.webview)
    WebView webView;
    private String url;

    @Override
    protected int getContentId() {
        return R.layout.hinfowebview_layout;
    }

    @Override
    protected void init() {
        Intent intent = getIntent();
        url = intent.getStringExtra("url");
        Log.d("print", "init: "+url);
        webView.loadUrl(url);
    }

}
